package za.org.jcicada.datastore.messages;

import java.util.Date;

import za.org.jcicada.genss.messages.BaseMessage;
import za.org.jcicada.genss.sensor.SensorURN;

public class SensorHistoryRequest extends BaseMessage {

	private static final long serialVersionUID = 1L;

	SensorURN sensorURN;
	Date from;
	Date to;
	
	public SensorHistoryRequest(SensorURN sensorURN, Date from, Date to) {
		this.sensorURN = sensorURN;
		this.from = from;
		this.to = to;
	}
	
	public SensorURN getSensorURN() {
		return sensorURN;
	}
	
	public Date getFrom() {
		return from;
	}
	
	public Date getTo() {
		return to;
	}
}
